FUNCTION

auth_descriptor_by_id

function auth_descriptor_by_id(account: account, id: byte_array): account_auth_descriptor

Finds an auth descriptor based on its ID and the account it belongs to.

Throws "MISSING AUTH DESCRIPTOR" if none is found.

Parameters

  • account — the account it belongs to
  • id — the ID of the auth descriptor
© 2024 Chromia